__author__ = 'ignatov'

from decimal import Decimal
from turbogears import validators, widgets
from mnemoply import reports
from mnemoply.utils import IdsValidator

class OplataReport(reports.RDSReport):
    name = _("Temporary payment records print")
    tag = "TPRPrint"
    report_type = reports.RDSReportType.EXCEL2
    template_module = "mnemoply.templates.reports.tpr_print"

    fields = [
        widgets.HiddenField(name="ids", label=_("IDs"),
            validator=IdsValidator),
    ]

exposed = OplataReport()
